package com.zy.dp.template.example6;

public class UserModel
{
	private String userId, name;
	private int age;

	public String getUserId()
	{
		return userId;
	}

	public void setUserId(String userId)
	{
		this.userId = userId;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public int getAge()
	{
		return age;
	}

	public void setAge(int age)
	{
		this.age = age;
	}

	public UserModel(String userId, String name, int age)
	{

		this.userId = userId;
		this.name = name;
		this.age = age;
	}

	@Override
	public String toString()
	{
		// TODO Auto-generated method stub
		return "userId=" + userId + ",name" + name + ",age" + age;
	}

}
